<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE>
<html>
	<head>
		<title>修改密码</title>
		
		<smLink1></smLink1>
		<smLink2></smLink2>
		
		<smScript1></smScript1>
		<smScript2>
			<script type="text/javascript" src="<%=basePath%>js/lib/jquery/jquery-validation/jquery.validate.min.js"></script>
			<script type="text/javascript" src="<%=basePath%>js/lib/jquery/jquery-validation/localization/messages_zh.min.js"></script>
			<script type="text/javascript" src="<%=basePath%>js/jsp/user/passwd.js"></script>
		</smScript2>
	</head>

	<body>
		<div id="breadcrumbs" class="breadcrumbs ace-save-state">
			<ul class="breadcrumb">
				<li>
					<span>修改密码</span>
				</li>
			</ul>
		</div>
	
		<div class="page-content">
			<div class="row">
				<div class="col-xs-7">
					<form id="passwd_form" class="form-horizontal" role="form" method="post" action="<%=basePath%>web/user/passwd.html">
						<div class="form-group">
							<label class="col-xs-3 control-label no-padding-right" for="old_passwd">旧密码</label>
	
							<div class="col-xs-9">
								<input id="old_passwd" name="oldPasswd" class="col-md-7" type="password" value="" placeholder="旧密码">
							</div>
						</div>

						<div class="space-1"></div>

						<div class="form-group">
							<label class="col-xs-3 control-label no-padding-right" for="new_passwd">新密码</label>

							<div class="col-xs-9">
								<input id="new_passwd" name="newPasswd" class="col-md-7" type="password" value="" placeholder="新密码">
							</div>
						</div>

						<div class="space-1"></div>

						<div class="form-group">
							<label class="col-xs-3 control-label no-padding-right" for="confirm_new_passwd">确认新密码</label>

							<div class="col-xs-9">
								<input id="confirm_new_passwd" name="confirmNewPasswd" class="col-md-7" type="password" value="" placeholder="确认新密码">
							</div>
						</div>

						<div class="space-1"></div>

						<div class="clearfix form-actions">
							<div class="col-md-offset-3 col-md-9">
								<button name="updatePasswdBtn" class="btn btn-info" type="submit">
									<i class="ace-icon iconfont icon-refresh"></i>修改
								</button>
	
								&nbsp; &nbsp; &nbsp;
								
								<button class="btn" type="reset">
									<i class="ace-icon iconfont icon-reset"></i>重置
								</button>
							</div>
						</div>
					</form>
				</div>
				
				<div class="col-xs-5">
					<div class="col-xs-12 f-s-14 red">数据校验如下：</div>
					
					<div class="col-xs-12">
						<div class="alert alert-warning m-0 m-t-5 p-0">
							<ol class="validate-ol f-s-12">
								<li>1、旧密码，必填；</li>
								<li>2、新密码，必填；</li>
								<li>3、确认新密码，必填。</li>
							</ol>
						</div>
					</div>
					
					<div class="col-xs-12">
						<div id="validate_container" class="display-none alert alert-danger m-0 m-t-5 p-0">
							<ul class="validate-ul f-s-12"></ul>
						</div>
					</div>
				</div>
			</div>
		</div>
	</body>
</html>